/*
	Author: Tim Smith
	Purpose: Interface for game tokens
*/

#pragma once
#include <Windows.h>
class IEntity
{
public:

	virtual ~IEntity( void ) = 0
	{ }

	virtual void Update( float fElapsedTime ) = 0;
	virtual void Render( void ) = 0;

	// Reference count / auto-self-destruct
	virtual void AddRef( void ) = 0;
	virtual void Release( void ) = 0;

	virtual int GetType( void ) = 0;
	virtual RECT GetRect( void ) = 0;

	virtual bool CheckCollision( IEntity * pOther ) = 0; 
};

